﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="b.aspx.cs" Inherits="BaseWeb.Test.b" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
    <style type="text/css">
        /* CSS Document */body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, form, img, dl, dt, dd, table, th, td, blockquote, fieldset, div, strong, label, em
        {
            margin: 0;
            padding: 0;
            border: 0;
        }
        ul, ol, li
        {
            list-style: none;
        }
        input, button
        {
            margin: 0;
            font-size: 12px;
            vertical-align: middle;
        }
        body
        {
            font-size: 12px;
            font-family: Arial, Helvetica, sans-serif;
            text-align: center;
            margin: 0 auto;
            color: #2b2b2b;
        }
        table
        {
            border-collapse: collapse;
            border-spacing: 0;
        }
        a
        {
            color: #2b2b2b;
            text-decoration: none;
        }
        a:hover
        {
            color: #c00;
            text-decoration: underline;
        }
        .column
        {
            width: 400px;
            float: left;
            margin-right: 10px;
            padding-bottom: 183px;
        }
        .portlet
        {
            width: 400px;
            height: 183px;
            margin: 0 0 10x 0;
        }
        .top
        {
            height: 32px;
            background-color: Green;
            cursor: move;
        }
        .portlet-header
        {
            margin: 0.3em;
            padding-bottom: 4px;
            padding-left: 0.2em;
        }
        .portlet-header .ui-icon
        {
            float: right;
        }
        .ui-state-highlight
        {
            width: 400px;
            height: 180px;
            visibility: visible !important;
        }
        .ui-state-highlight *
        {
            visibility: hidden;
        }
        .ui-sortable-placeholder
        {
            border: 1px dotted #87a0d3;
            width: 400px;
            visibility: visible !important;
            height: 173px !important;
        }
        .ui-sortable-placeholder *
        {
            visibility: hidden;
        }
        .box_163css
        {
            width: 820px;
            margin: 20px auto;
        }
        .mid
        {
            background-color: Gray;
        }
    </style>

    <script src="../../../js/jquery-1.8.3.js" type="text/javascript"></script>

    <script src="../../../js/jquery-ui.js" type="text/javascript"></script>

    <script>
        $(function()
        {
            $(".column").sortable({
                connectWith: ".column",
                //placeholder: "ui-state-highlight",
                cancel: ".mid"
            });
            $(".column").disableSelection();
        });
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="box_163css">
        <div class="column">
            <div class="portlet">
                <div class="top">
                    <img src="images/img01.gif" /></div>
                <div class="mid">
                    <img src="images/img02.gif" /></div>
            </div>
            <div class="portlet">
                <div class="top">
                    <img src="images/img03.gif" /></div>
                <div class="mid">
                    <img src="images/img04.gif" /></div>
            </div>
            <div class="portlet">
                <div class="top">
                    <img src="images/img05.gif" /></div>
                <div class="mid">
                    <img src="images/img06.gif" /></div>
            </div>
        </div>
        <div class="column">
            <div class="portlet">
                <div class="top">
                    <img src="images/img01.gif" /></div>
                <div class="mid">
                    <img src="images/img02.gif" /></div>
            </div>
            <div class="portlet">
                <div class="top">
                    <img src="images/img03.gif" /></div>
                <div class="mid">
                    <img src="images/img04.gif" /></div>
            </div>
            <div class="portlet">
                <div class="top">
                    <img src="images/img05.gif" /></div>
                <div class="mid">
                    <img src="images/img06.gif" /></div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
